<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数据可视化界面</title>
    <style>
        body {
            background-color: #002366; /* Change to the desired background color */
            color: #FFFFFF; /* Change to the desired text color */
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
        }
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            background-color: #002366; /* Same as body background color for a seamless look */
        }
        .title {
            font-size: 2em;
            text-align: center;
            flex-grow: 1;
        }
        .time {
            font-size: 1em;
        }
    </style>
</head>
<body>
    <div class="header">
        <div class="title">数据可视化界面</div>
        <div class="time" id="currentTime"></div>
    </div>

    <script>
        function updateTime() {
            const now = new Date();
            const timeElement = document.getElementById('currentTime');
            timeElement.textContent = now.toLocaleString();
        }
        setInterval(updateTime, 1000);
        updateTime(); // 初始化时间
    </script>
</body>
</html>
